package com.graduation.fq.student.Logic;

import com.graduation.fq.student.Process.MsgProcess;
import com.graduation.fq.student.Utils.CommonUtils;

/**
 * Created by jifang
 * Time 2016/5/27 21:06.
 */
public class MsgLogic extends BaseLogic {

    private static MsgLogic instance;

    public static MsgLogic getInstance() {
        if (instance == null) {
            instance = new MsgLogic();
        }
        return instance;
    }

    public void send(String msg, Integer uId, Integer tId){
        new MsgProcess(CommonUtils.encode(msg), uId, tId).runGet();
    }
}
